<?php

class PropertyprofileController extends Zend_Controller_Action
{
	
	public function init ()
    {
     }
	
	public function indexAction()
	{
        $estate_id = $this->getRequest()->getParam('property_id');
        //$estate_id = '106';
        $mapper = new Reale_Model_Estate_PropertyMapper();
        $project = $mapper->fetchBasicInfo($estate_id);
        
        if (count($project)) {
        $this->view->assign('basicInfo',$project);
        $this->view->assign('specInfo',$mapper->fetchSpecInfo($estate_id));
        }
	}
}